package com.teemo.dp.bridge;

import com.teemo.dp.bridge.computer.HuaWeiComputer;
import com.teemo.dp.bridge.os.LinuxSystem;
import com.teemo.dp.bridge.os.WindowsSystem;

/**
 * @author Teemo
 */
public class Demo {
    public static void main(String[] args) {
        HuaWeiComputer huaWeiComputer = new HuaWeiComputer();
        WindowsSystem windowsSystem = new WindowsSystem();
        huaWeiComputer.setOs(windowsSystem);
        huaWeiComputer.start();

        LinuxSystem linuxSystem = new LinuxSystem();
        huaWeiComputer.setOs(linuxSystem);
        huaWeiComputer.start();

    }
}
